package com.example.spring_project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.spring_project.entity.Book;
import com.example.spring_project.utils.Result;

public interface BookService extends IService<Book> {
    Book getById(int id);
    Boolean deleteById(int id);
    Result<Object> updateById(int id, int stock);
    int queryStockById(int id);
}
